package com.bc.web.config.route;

import com.bc.web.controller.admin.AccountController;
import com.bc.web.controller.admin.AdminRoleController;
import com.bc.web.controller.admin.AdminUserController;
import com.bc.web.controller.admin.ChannelController;
import com.bc.web.controller.admin.ChannelFeeControlle;
import com.bc.web.controller.admin.ClearingCollectController;
import com.bc.web.controller.admin.ClearingDetailController;
import com.bc.web.controller.admin.ClearingIncomeController;
import com.bc.web.controller.admin.ClearingMonitorController;
import com.bc.web.controller.admin.DictionaryController;
import com.bc.web.controller.admin.FeeModelController;
import com.bc.web.controller.admin.MainController;
import com.bc.web.controller.admin.MerchController;
import com.bc.web.controller.admin.MerchRoleController;
import com.bc.web.controller.admin.MerchUserController;
import com.bc.web.controller.admin.OrderController;
import com.bc.web.controller.admin.OrgController;
import com.bc.web.controller.admin.OrgRoleController;
import com.bc.web.controller.admin.OrgUserController;
import com.bc.web.controller.admin.PayOrderContoller;
import com.bc.web.controller.admin.RedisController;
import com.bc.web.controller.admin.ReportController;
import com.bc.web.controller.admin.RiskRuleController;
import com.bc.web.controller.admin.ShareFeeController;
import com.bc.web.controller.admin.TradeStrategyController;
import com.bc.web.controller.admin.TransferQrcodeController;
import com.bc.web.controller.admin.UpdateAccountController;
import com.jfinal.config.Routes;

public class AdminRoute extends Routes{

	@Override
	public void config() {
		super.setBaseViewPath("/WEB-INF/admin/");
		// 首页
		super.add("/admin", MainController.class,"/");
		super.add("/admin/order",OrderController.class,"/");
		super.add("/admin/payorder", PayOrderContoller.class, "/");
		super.add("/admin/channel", ChannelController.class,"/");
		super.add("/admin/org", OrgController.class, "/");
		super.add("/admin/dictionary", DictionaryController.class, "/");
		super.add("/admin/riskrule", RiskRuleController.class, "/");
		super.add("/admin/tradestrategy", TradeStrategyController.class, "/");
		super.add("/admin/redis", RedisController.class, "/");
		super.add("/admin/user", AdminUserController.class, "/");
		super.add("/admin/role", AdminRoleController.class, "/");
		super.add("/admin/org/user", OrgUserController.class, "/");
		super.add("/admin/org/role", OrgRoleController.class, "/");
		super.add("/admin/merch/user", MerchUserController.class, "/");
		super.add("/admin/merch/role", MerchRoleController.class, "/");
		super.add("/admin/merch", MerchController.class, "/");
		super.add("/admin/fee/model", FeeModelController.class, "/");
		super.add("/admin/fee/channel", ChannelFeeControlle.class, "/");
		super.add("/admin/fee/share", ShareFeeController.class,"/");
		super.add("/admin/clearing/monitor", ClearingMonitorController.class , "/");
		super.add("/admin/clearing/detail", ClearingDetailController.class , "/");
		super.add("/admin/clearing/collect", ClearingCollectController.class , "/");
		super.add("/admin/clearing/income", ClearingIncomeController.class , "/");
		super.add("/admin/clearing/report", ReportController.class, "/");
		super.add("/admin/account", AccountController.class, "/");
		super.add("/admin/qrcode", TransferQrcodeController.class, "/");
		super.add("/admin/updateaccount", UpdateAccountController.class, "/");
	}

}
